package nayasis.study.finalize;

public class Destructor {

	public void finalize() {
		System.out.println( "I'm dead !" );
	}
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {

		Destructor d = new Destructor();
		
		d = null;
		
		System.gc();
		
	}

}
